<template>
  <el-container class="home_container">
    <el-aside width="200px"><home-nav-view/></el-aside>
    <el-main>
      <mainNavView/>
    </el-main>
  </el-container>
  <!-- <home-nav-view/> -->
</template>

<script>
// @ is an alias to /src
import homeNavView from '../components/HomeNavView.vue'
import mainNavView from '../components/MainNavView.vue'

export default {
  name: 'Home',
  components: {
    homeNavView,
    mainNavView
  }
}
</script>

<style scoped>
.el-aside {
  background-color: #304156;
  line-height: 200px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
  padding: 0;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

.home_container {
  height: 100%;
}
</style>
